package com.ruoyi.asset.domain;

import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审核流程对象 asset_flow_step
 *
 * @author yepanpan
 * @date 2024-12-25
 */
@Data
public class AssetFlowStep extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    public static final String TYPE_DEPT = "D";
    public static final String TYPE_PARENT_DEPT = "T";
    public static final String TYPE_USER = "U";
    public static final String TYPE_ROLE = "R";
    public static final String TYPE_POST = "P";

    /** 自增长主键ID */
    private Long id;

    /** 流程 */
    @Excel(name = "流程")
    private String typeName;
    private Long typeId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 节点类别 */
    @Excel(name = "节点类别", dictType = "flow_step_type")
    private String type;

    /** 节点对象 */
    @Excel(name = "节点对象")
    private String targets;
    private String targetsName;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sorts;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

}
